Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerating LLVMSharp using the EnumConstantDecl changes #98

Merged
merged 1 commit into from
May 11, 2019

Conversation

tannergooding
Copy link
Member

This is the LLVMSharp regeneration for the ClangSharp changes made here: dotnet/ClangSharp#45

The binding generator was updated to traverse expressions attached to enum constant declarations. This means that the generated code will more closely match the source files.

LLVMDIFlagBigEndian = 1 << 27,
LLVMDIFlagLittleEndian = 1 << 28,
LLVMDIFlagIndirectVirtualBase = (1 << 2) | (1 << 5),
LLVMDIFlagAccessibility = LLVMDIFlagPrivate | LLVMDIFlagProtected | LLVMDIFlagPublic,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An example of more complex expressions being handled 🎉

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(explicitly called out other examples in the ClangSharp version)

@tannergooding tannergooding merged commit 7bf8844 into dotnet:master May 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants